<div class="mobileModels index">
	<h2><?php echo __('Mobile Models'); ?></h2>
	<table cellpadding="0" cellspacing="0">
	<thead>
	<tr>
			<th><?php echo $this->Paginator->sort('mobile_model_id'); ?></th>
			<th><?php echo $this->Paginator->sort('model_code'); ?></th>
			<th><?php echo $this->Paginator->sort('image_url'); ?></th>
			<th><?php echo $this->Paginator->sort('is_active'); ?></th>
			<th><?php echo $this->Paginator->sort('price'); ?></th>
			<th><?php echo $this->Paginator->sort('discount'); ?></th>
			<th><?php echo $this->Paginator->sort('retail_price'); ?></th>
			<th><?php echo $this->Paginator->sort('warranty_month'); ?></th>
			<th><?php echo $this->Paginator->sort('mobile_base_id'); ?></th>
			<th><?php echo $this->Paginator->sort('mobile_name'); ?></th>
			<th><?php echo $this->Paginator->sort('mobile_dimension'); ?></th>
			<th><?php echo $this->Paginator->sort('mobile_weight'); ?></th>
			<th><?php echo $this->Paginator->sort('screen_type_id'); ?></th>
			<th><?php echo $this->Paginator->sort('screen_color_count'); ?></th>
			<th><?php echo $this->Paginator->sort('screen_standard_id'); ?></th>
			<th><?php echo $this->Paginator->sort('screen_resolution_id'); ?></th>
			<th><?php echo $this->Paginator->sort('screen_size_id'); ?></th>
			<th><?php echo $this->Paginator->sort('touch_description'); ?></th>
			<th><?php echo $this->Paginator->sort('camera_feature'); ?></th>
			<th><?php echo $this->Paginator->sort('cpu_speed'); ?></th>
			<th><?php echo $this->Paginator->sort('chipset_id'); ?></th>
			<th><?php echo $this->Paginator->sort('gpus_id'); ?></th>
			<th><?php echo $this->Paginator->sort('ram'); ?></th>
			<th><?php echo $this->Paginator->sort('internal_storage'); ?></th>
			<th><?php echo $this->Paginator->sort('storage_up_to'); ?></th>
			<th><?php echo $this->Paginator->sort('card_slot_type_id'); ?></th>
			<th><?php echo $this->Paginator->sort('battery_type_id'); ?></th>
			<th><?php echo $this->Paginator->sort('battery_capacity'); ?></th>
			<th><?php echo $this->Paginator->sort('battery_removable'); ?></th>
			<th><?php echo $this->Paginator->sort('sim_count'); ?></th>
			<th><?php echo $this->Paginator->sort('three_description'); ?></th>
			<th><?php echo $this->Paginator->sort('four_description'); ?></th>
			<th><?php echo $this->Paginator->sort('gps_description'); ?></th>
			<th><?php echo $this->Paginator->sort('bluetooth_description'); ?></th>
			<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	</thead>
	<tbody>
	<?php foreach ($mobileModels as $mobileModel): ?>
	<tr>
		<td><?php echo h($mobileModel['MobileModel']['mobile_model_id']); ?>&nbsp;</td>
		<td><?php echo h($mobileModel['MobileModel']['model_code']); ?>&nbsp;</td>
		<td><?php echo h($mobileModel['MobileModel']['image_url']); ?>&nbsp;</td>
		<td><?php echo h($mobileModel['MobileModel']['is_active']); ?>&nbsp;</td>
		<td><?php echo h($mobileModel['MobileModel']['price']); ?>&nbsp;</td>
		<td><?php echo h($mobileModel['MobileModel']['discount']); ?>&nbsp;</td>
		<td><?php echo h($mobileModel['MobileModel']['retail_price']); ?>&nbsp;</td>
		<td><?php echo h($mobileModel['MobileModel']['warranty_month']); ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($mobileModel['MobileBase']['mobile_base_name'], array('controller' => 'mobile_bases', 'action' => 'view', $mobileModel['MobileBase']['mobile_base_id'])); ?>
		</td>
		<td><?php echo h($mobileModel['MobileModel']['mobile_name']); ?>&nbsp;</td>
		<td><?php echo h($mobileModel['MobileModel']['mobile_dimension']); ?>&nbsp;</td>
		<td><?php echo h($mobileModel['MobileModel']['mobile_weight']); ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($mobileModel['ScreenType']['screen_type_name'], array('controller' => 'screen_types', 'action' => 'view', $mobileModel['ScreenType']['screen_type_id'])); ?>
		</td>
		<td><?php echo h($mobileModel['MobileModel']['screen_color_count']); ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($mobileModel['ScreenStandard']['screen_standard_name'], array('controller' => 'screen_standards', 'action' => 'view', $mobileModel['ScreenStandard']['screen_standard_id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($mobileModel['ScreenResolution']['screen_resolution_value'], array('controller' => 'screen_resolutions', 'action' => 'view', $mobileModel['ScreenResolution']['screen_resolution_id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($mobileModel['ScreenSize']['screen_size_value'], array('controller' => 'screen_sizes', 'action' => 'view', $mobileModel['ScreenSize']['screen_size_id'])); ?>
		</td>
		<td><?php echo h($mobileModel['MobileModel']['touch_description']); ?>&nbsp;</td>
		<td><?php echo h($mobileModel['MobileModel']['camera_feature']); ?>&nbsp;</td>
		<td><?php echo h($mobileModel['MobileModel']['cpu_speed']); ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($mobileModel['Chipset']['chipset_name'], array('controller' => 'chipsets', 'action' => 'view', $mobileModel['Chipset']['chipset_id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($mobileModel['Gpus']['gpu_name'], array('controller' => 'gpuses', 'action' => 'view', $mobileModel['Gpus']['gpus_id'])); ?>
		</td>
		<td><?php echo h($mobileModel['MobileModel']['ram']); ?>&nbsp;</td>
		<td><?php echo h($mobileModel['MobileModel']['internal_storage']); ?>&nbsp;</td>
		<td><?php echo h($mobileModel['MobileModel']['storage_up_to']); ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($mobileModel['CardSlotType']['card_slot_type_name'], array('controller' => 'card_slot_types', 'action' => 'view', $mobileModel['CardSlotType']['card_slot_type_id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($mobileModel['BatteryType']['battery_type_name'], array('controller' => 'battery_types', 'action' => 'view', $mobileModel['BatteryType']['battery_type_id'])); ?>
		</td>
		<td><?php echo h($mobileModel['MobileModel']['battery_capacity']); ?>&nbsp;</td>
		<td><?php echo h($mobileModel['MobileModel']['battery_removable']); ?>&nbsp;</td>
		<td><?php echo h($mobileModel['MobileModel']['sim_count']); ?>&nbsp;</td>
		<td><?php echo h($mobileModel['MobileModel']['three_description']); ?>&nbsp;</td>
		<td><?php echo h($mobileModel['MobileModel']['four_description']); ?>&nbsp;</td>
		<td><?php echo h($mobileModel['MobileModel']['gps_description']); ?>&nbsp;</td>
		<td><?php echo h($mobileModel['MobileModel']['bluetooth_description']); ?>&nbsp;</td>
		<td class="actions">
			<?php echo $this->Html->link(__('View'), array('action' => 'view', $mobileModel['MobileModel']['mobile_model_id'])); ?>
			<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $mobileModel['MobileModel']['mobile_model_id'])); ?>
			<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $mobileModel['MobileModel']['mobile_model_id']), array(), __('Are you sure you want to delete # %s?', $mobileModel['MobileModel']['mobile_model_id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</tbody>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
	));
	?>	</p>
	<div class="paging">
	<?php
		echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
		echo $this->Paginator->numbers(array('separator' => ''));
		echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
	?>
	</div>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('New Mobile Model'), array('action' => 'add')); ?></li>
		<li><?php echo $this->Html->link(__('List Mobile Bases'), array('controller' => 'mobile_bases', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Mobile Base'), array('controller' => 'mobile_bases', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Screen Types'), array('controller' => 'screen_types', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Screen Type'), array('controller' => 'screen_types', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Screen Standards'), array('controller' => 'screen_standards', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Screen Standard'), array('controller' => 'screen_standards', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Screen Resolutions'), array('controller' => 'screen_resolutions', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Screen Resolution'), array('controller' => 'screen_resolutions', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Screen Sizes'), array('controller' => 'screen_sizes', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Screen Size'), array('controller' => 'screen_sizes', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Chipsets'), array('controller' => 'chipsets', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Chipset'), array('controller' => 'chipsets', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Gpuses'), array('controller' => 'gpuses', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Gpus'), array('controller' => 'gpuses', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Card Slot Types'), array('controller' => 'card_slot_types', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Card Slot Type'), array('controller' => 'card_slot_types', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Battery Types'), array('controller' => 'battery_types', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Battery Type'), array('controller' => 'battery_types', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Model Colors'), array('controller' => 'model_colors', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Model Color'), array('controller' => 'model_colors', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Products'), array('controller' => 'products', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Product'), array('controller' => 'products', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Purchase Details'), array('controller' => 'purchase_details', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Purchase Detail'), array('controller' => 'purchase_details', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Sale Details'), array('controller' => 'sale_details', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Sale Detail'), array('controller' => 'sale_details', 'action' => 'add')); ?> </li>
	</ul>
</div>
